<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>登录页面 </title>
<link rel="icon" href="favicon.ico" type="image/ico">

<meta name="author" content="yinqi">
<link href="../static/css/bootstrap.min.css" rel="stylesheet">
<link href="../static/css/materialdesignicons.min.css" rel="stylesheet">
<link href="../static/css/style.min.css" rel="stylesheet">
<link rel="stylesheet" href="../static/css/bootstrap.css">
<script src="../static/js/jquery-3.1.1.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="../static/js/bootstrap.min.js"></script>
<style type="text/css">

	body {
		display: -webkit-box;
		display: flex;
		-webkit-box-pack: center;
		justify-content: center;
		-webkit-box-align: center;
		align-items: center;
		height: 100%;
	}
	h2{
		color: #555500;

	}
	#carousel-example-generic{
		width: 250px;
		height: 120px;
		text-align: center;
		align:center;



	}
	.login-box {
		display: table;
		table-layout: fixed;
		overflow: hidden;
		max-width: 700px;
	}
	.login-left {
		display: table-cell;
		position: relative;
		margin-bottom: 0;
		border-width: 0;
		padding: 45px;
	}
	.login-left .form-group:last-child {
		margin-bottom: 0px;
	}
	.login-right {
		display: table-cell;
		position: relative;
		margin-bottom: 0;
		border-width: 0;
		padding: 45px;
		width: 50%;
		max-width: 50%;
		background: #67b26f!important;
		background: -moz-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
		background: -webkit-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
		background: linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#67b26f', endColorstr='#4ca2cd', GradientType=1 )!important;
	}
	.login-box .has-feedback.feedback-left .form-control {
		padding-left: 38px;
		padding-right: 12px;
	}
	.login-box .has-feedback.feedback-left .form-control-feedback {
		left: 0;
		right: auto;
		width: 38px;
		height: 38px;
		line-height: 38px;
		z-index: 4;
		color: #dcdcdc;
	}
	.login-box .has-feedback.feedback-left.row .form-control-feedback {
		left: 15px;
	}
	@media (max-width: 576px) {
		.login-right {
			display: none;
		}
	}
	.btns{
		width: 120px;
		height: 30px;
		border: 0px;
		background: #00feff;
		margin-left: 40px;
		margin-top: 20px;
	}
</style>
</head>
  
<body style="background-image: url(../static/img/img4.jpg); background-size: cover;">
<div class="bg-translucent p-10">
  <div class="login-box bg-white clearfix">
    <div class="login-left">
      <form th:action="@{/login}" method="post">
        <div class="form-group has-feedback feedback-left">
          <input type="text" placeholder="请输入您的用户名" class="form-control" name="loginname" id="loginname" />
          <span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
        </div>
        <div class="form-group has-feedback feedback-left">
          <input type="password" placeholder="请输入密码" class="form-control" id="password" name="password" />
          <span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
        </div>



        
<!--        <div class="form-group">-->
<!--          <button class="btn btn-block btn-primary" type="button" onclick="location.href='index.html'">立即登录</button>-->
<!--        </div>-->
          <input type="submit" class="btns" value="登录"/>
				<div class="form-group">
				  <a th:href="@{/regist}" >没有账号？立即注册</a>
				</div>
      </form>
    </div>
    <div class="login-right">
      <h2>智能车险投保系统</h2>
      <p class="text-white m-tb-15"></p>
			
			<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
			    <!-- Indicators -->
			    <ol class="carousel-indicators">
			        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
			        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
			        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
			    </ol>
			
			    <!-- Wrapper for slides -->
			    <div class="carousel-inner" role="listbox">
			        <div class="item active">
			            <img src="../static/img/img1.jpg" >
			           
			        </div>
			        <div class="item">
			            <img src="../static/img/img2.jpg" >
			            
			        </div>
			        <div class="item">
			            <img src="../static/img/img3.jpg" >
			           
			        </div>
			    </div>
			
			    
			</div>
			
      
    </div>
  </div>
</div>
<script type="text/javascript" src="../static/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript" >
	var mssg = "[[${session.msg}]]";
	if (mssg !="" && mssg.length > 0){alert(mssg);

    }
</script>
</body>
</html>
